package com.accp.pojo;

import java.util.Date;

public class Email {
	private Integer id;
	private String recipients;//接收人
	private String title;
	private String content;
	private String sender;
	private String upload;//附件
	private Integer isRead;//读取状态
	private Date time;
	private Integer isDeleted;//是否删除状态
	
//	private Users users;
//	
//	public Users getUsers() {
//		return users;
//	}
//	public void setUsers(Users users) {
//		this.users = users;
//	}
//	
	
	public Email() {
		super();
	}
	public Email(Integer id, String recipients, String title, String content,
			String sender,String upload, Integer isRead, Date time,
			Integer isDeleted) {
		super();
		this.id = id;
		this.recipients = recipients;
		this.title = title;
		this.content = content;
		this.sender = sender;
		this.upload = upload;
		this.isRead = isRead;
		this.time = time;
		this.isDeleted = isDeleted;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getRecipients() {
		return recipients;
	}
	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	
	public String getUpload() {
		return upload;
	}
	public void setUpload(String upload) {
		this.upload = upload;
	}
	public Integer getIsRead() {
		return isRead;
	}
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	
}
